package com.dimple.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @className: com.dimple.common.annotation
 * @description: 学生权限验证
 * @auther: Dimple
 * @date: 04/26/19
 * @version: 1.0
 */
@Documented
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface StudentAuth {
    /**
     * 是否需要权限验证
     */
    boolean needValidate() default true;
}
